home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / i / internet / software / dlinksr / inetcust.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-01  |  1.6 KB  |  51 lines

  1. /********************************************************************/
  2. /*                                                                    */
  3. /*    Packet driver for D-LINK DE600 ethernet controller                */
  4. /*                                                                    */
  5. /*    Copyleft by P. Mayer, 1993 TU-Vienna IAEE                        */
  6. /*    All rights reserved                                                */
  7. /*                                                                    */
  8. /********************************************************************/
  9.  
  10. #ifndef _INET_CUST
  11. #define _INET_CUST
  12.  
  13. #ifndef INADDR
  14. #define INADDR unsigned long
  15. #endif
  16.  
  17. #define INETCUSTCOOKIE   0x49435354L        /* "ICST" */
  18.  
  19. #define MAXUSERNAME        16
  20. #define MAXNAME            64
  21. #define MAXHOSTNAME        16
  22.  
  23. typedef struct
  24. {
  25.     long    magic;                /* magic to identify version */
  26.     HADDR    haddr;                /* my ethernet address          */
  27.     INADDR    inaddr;                /* my internet address       */
  28.     short    subnetbits;            /* number of subnet bits     */
  29.     short    tcpwnd;                /* default tcp window size   */
  30.     short    tcplowater;
  31.     long    netmem;                /* size of mem to hold buffers */
  32.     char    username[MAXUSERNAME];
  33.     char    hosts[64];            /* path to hosttable         */
  34.     char    passwd[64];            /* path to passwdfile         */
  35.     short    gmtoffs;            /* time zone offset          */
  36.     char    tzname[6];            /* timezone name             */
  37.     INADDR    timeserver[2];        /* ip adr of 2 timeservers   */ 
  38.     INADDR    nameserver[3];        /* ip adr of 3 nameservers   */
  39.     INADDR    gateway;            /* ip adr of gateway         */
  40.     char    hostname[MAXHOSTNAME];            /* name of this host */
  41.     char    domainname[MAXNAME];/* domainname of this host */
  42.     char    mailhost[MAXNAME];    /* mailhost name */
  43.     char    loginhost[MAXNAME];    /* default host */
  44.     char    printhost[MAXNAME];    /* printserver */
  45.     char    printdev[MAXHOSTNAME];            /* printer device */
  46.     long    ftpwin;                /* size of ftp buffers */    
  47. } INETCUST;
  48.  
  49.  
  50.  
  51. #endif